/**
 * Copyright © 2014 Creativor Studio.
 * About license information, please see LICENSE.txt.
 */
package org.rayson.api.exception;

import org.rayson.api.struct.HttpResponseStatus;

/**
 * Means that a Rayson RPC protocol wrong format.
 * 
 * @author creativor
 */
public class ProtocolException extends RpcException {

	private static final long serialVersionUID = 1L;

	/**
	 * @param message
	 */
	public ProtocolException(final String message) {
		super(HttpResponseStatus.RAYSON_WRONG_PROTOCOL_FORMAT.getCode(),
				message);
	}
}